graph reciprocal function with transformations